sugarfreeApp.controller('QRModalCtrl',['$scope','$modalInstance','qrString','qrTitle',function ($scope,$modalInstance, qrString,qrTitle) {
  "use strict";
  
  $scope.qrString = qrString;
  $scope.qrTitle = qrTitle;

  $scope.ok = function () {
    $modalInstance.close("");
  };

  $scope.cancel = function () {
    $modalInstance.dismiss('cancel');
  };
}]);